package com.neusoft.elm.entity;
/**
 * 模型类
 * bean
 * @author admin
 *	类名与表名相同
 *	属性名与表的列名相同
 *	类型只能使用包裹类或者其它bean
 */
public class Business {
	private Integer businessId; // '商家编号',
	private String businessName; // '商家名称',
	private String businessAddress;// '商家地址',
	private String businessExplain; // '商家介绍',
	private Integer orderTypeId; // '点餐分类',
	private Float starPrice; // '起送费',
	private Float deliveryPrice; // '配送费',
	private String remarks; // '备注',
	private String imgaddr; // 商家图片

	public String getImgaddr() {
		return imgaddr;
	}

	public void setImgaddr(String imgaddr) {
		this.imgaddr = imgaddr;
	}

	public Business(Integer businessId, String businessName, String businessAddress, String businessExplain,
			Integer orderTypeId, Float starPrice, Float deliveryPrice, String remarks) {
		this.businessId = businessId;
		this.businessName = businessName;
		this.businessAddress = businessAddress;
		this.businessExplain = businessExplain;
		this.orderTypeId = orderTypeId;
		this.starPrice = starPrice;
		this.deliveryPrice = deliveryPrice;
		this.remarks = remarks;
	}

	public Business() {

	}

	@Override
	public String toString() {
		return "Business [businessId=" + businessId + ", businessName=" + businessName + ", businessAddress="
				+ businessAddress + ", businessExplain=" + businessExplain + ", orderTypeId=" + orderTypeId
				+ ", starPrice=" + starPrice + ", deliveryPrice=" + deliveryPrice + ", remarks=" + remarks + "]";
	}

	public Integer getBusinessId() {
		return businessId;
	}

	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getBusinessAddress() {
		return businessAddress;
	}

	public void setBusinessAddress(String businessAddress) {
		this.businessAddress = businessAddress;
	}

	public String getBusinessExplain() {
		return businessExplain;
	}

	public void setBusinessExplain(String businessExplain) {
		this.businessExplain = businessExplain;
	}

	public Integer getOrderTypeId() {
		return orderTypeId;
	}

	public void setOrderTypeId(Integer orderTypeId) {
		this.orderTypeId = orderTypeId;
	}

	public Float getStarPrice() {
		return starPrice;
	}

	public void setStarPrice(Float starPrice) {
		this.starPrice = starPrice;
	}

	public Float getDeliveryPrice() {
		return deliveryPrice;
	}

	public void setDeliveryPrice(Float deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
